<template>
  <ex_select_auto ref="main" :option="buildOption" url="/fms-api/agent/AgentCurrencyRpc/selectEnable.json" :value="value" filterable :popper-append-to-body="false"
  :multiple="multiple"
    v-bind="$attrs" v-on="$listeners"  />
  <!-- <el-select v-model="selectValue" @change="afterChange" :clearable="false" :filterable="true"
    :popper-append-to-body="false" :disabled="disabled">
    <el-option v-for="item in optionsData" :key="item.currencyType" :label="$tt('CurrencyTypeEnum__' + item.currencyType)"
      :value="item.currencyType">
    </el-option>
  </el-select> -->
</template>
<script>

import Vue from 'vue'

export default {


  methods: {
    buildOption(item) {
      return { label: this.$tt('CurrencyTypeEnum__' + item.currencyType), value: item.currencyType }
    },


  },
  props: {
    value: null,
    multiple: {
      type:Boolean,
      default:false,
    },
  },





}

</script>
